import config from '@/config/config'
export default {
	data() {
		return {
			navHeight: 44
		}
	},
	methods: {
		
		
	},
	onShow() {
		
	},
	onLoad(){
		uni.$u.mpShare = {
		    title: config.name, // 默认为小程序名称
		    path: '/pages/tabbar/home/home', // 默认为当前页面路径
		    imageUrl: '' // 默认为当前页面的截图
		}
		let systemInfo = uni.getSystemInfoSync()
		let statusBarHeight = systemInfo.statusBarHeight
		let platform = systemInfo.platform
		this.navHeight = (platform == 'ios' ? 44 : 48) + statusBarHeight
	}
}
